package com.ruoyi.web.controller.system.Fdongbei;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.Fdongbei.service.ITbCgHService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

import static com.ruoyi.common.core.domain.AjaxResult.success;
import static com.ruoyi.common.core.domain.R.ok;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author fufeng
 * @since 2024-12-09
 */
@RestController
@RequestMapping("/system/Fdongbei/tb-cg-h")
public class TbCgHController {

    @Resource
    ITbCgHService iTbCgHService;
    @GetMapping("/selectCgh")
    public AjaxResult selectCgh(String ebeln){
        return success(iTbCgHService.selectCgh(ebeln));
    }

}

